import 'package:flutter/material.dart';
import 'package:x_project/components/load_state_widget.dart';
import 'package:x_project/components/x_app_bar.dart';

/// Created by XieXin on 2020/3/20.
/// 路由未找到目标页
class NotFoundWidget extends StatelessWidget {
  const NotFoundWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      appBar: XAppBar(title: "未找到目标页"),
      body: LoadStateWidget(type: LoadState.noData, hintText: "页面不存在"),
    );
  }
}
